<?php

namespace app\admin\controller;


use think\Controller;
use think\Db;

class Index extends Base
{
    public function index()
    {

        $username = Db::name('admin')->where('id', $this->admin_id)->value('username');
        $this->assign('username', $username);
        return $this->fetch();
    }




}
